<?php
$this->beginPage();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?php echo $data['message'];?></title>

    <style type="text/css">
        body{ margin:0; padding:0; background:#efefef; font-family:Georgia, Times, Verdana, Geneva, Arial, Helvetica, sans-serif; }
        div#mother{ margin:0 auto; width:943px; height:572px; position:relative; }
        div#errorBox{ background: url(/web/images/404_bg.png) no-repeat top left; width:943px; height:572px; margin:auto; position: relative;}
        div#errorText{ color:#39351e; padding:146px 0 0 446px }
        div#errorText p{ width:303px; font-size:14px; line-height:26px; }
        div.h_link{float: left; position: absolute;top: 373px;left: 0;}
        div.h_link a{float:left;}
        div.link{/* background:#f90;*/ height:50px; width:145px; display: block;}
        div#home{ margin:29px 0 0 444px;}
        div#contact{ margin:29px 0 0 25px;}
        h1{ font-size:40px; margin-bottom:35px; }
        .adcenter{width:1200px;height:90px;margin:0 auto;}
    </style>

</head>
<body>
<?php $this->beginBody(); ?>
<div id="mother">
    <div id="errorBox">
        <div id="errorText">
            <h1>Sorry..<?php echo $data['status'].$data['message'];?></h1>
        </div>
        <div class="h_link">
            <a href="<?php echo \yii\helpers\Url::to(['default/index']);?>" title="返回首页">
                <div class="link" id="home"></div>
            </a>
            <a href="Javascript:;" title="联系管理员">
                <div class="link" id="contact"></div>
            </a>
        </div>
    </div>
</div>

<?php
    $this->registerJsFile('/web/js/jquery-1.10.1.js');
    $this->registerJsFile('/web/js/layer/layer.js');
$js=<<<JS
$('#contact').click(function() {  
  layer.alert('联系电话：13918332535', {icon: 6});
  return false;
})
JS;
$this->registerJs($js);
?>

<?php $this->endBody(); ?>
</body>
</html>
<?php $this->endPage(); ?>
